package com.zlq.cn.dto.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class VipUpParam {

    @ApiModelProperty("交易流水号")
    @NotNull(message = "交易流水号不能为空")
    private String transactionId;

    @ApiModelProperty("交易信息")
    @NotNull(message = "交易信息不能为空")
    private String receipt;

    @ApiModelProperty("开通天数")
    @NotNull(message = "开通天数不能为空")
    private Integer openDay;

    @ApiModelProperty(value = "是否查询内购续费", hidden = true)
    private boolean checkBuyAppVerify = true;
}
